Write JavaScript program to check whether the character is vowel or consonant